<template>
  <el-table
    :data="tableData"
    style="width: 100%">
    <el-table-column
      type="index"
      label="序号"
      width="80">
    </el-table-column>
    <el-table-column
      prop="employeeName"
      label="姓名"
      width="80">
    </el-table-column>
    <el-table-column
      prop="cardTypeName"
      label="证件类型"
      width="80">
    </el-table-column>
    <el-table-column
      prop="idCard"
      label="证件号码"
      width="150">
    </el-table-column>
    <el-table-column
      prop="payableSalary"
      label="工资"
      width="150">
    </el-table-column>
    <el-table-column label="代扣社保">
      <el-table-column
        prop="endowmentInsurance"
        label="养老保险"
        width="120">
      </el-table-column>
      <el-table-column
        prop="medicalInsurance"
        label="医疗保险"
        width="120">
      </el-table-column>
      <el-table-column
        prop="unemploymentInsurance"
        label="失业保险"
        width="120">
      </el-table-column>
      <el-table-column
        prop="insuranceCount"
        label="合计"
        width="120">
      </el-table-column>
    </el-table-column>
    <el-table-column
        prop="housingFund"
        label="代扣公积金"
        width="120">
      </el-table-column>
    <el-table-column label="其他扣除">
        <el-table-column
          prop="annuity"
          label="企业（职业）年金"
          width="120">
        </el-table-column>
        <el-table-column
          prop="commercialHealthInsurance"
          label="商业健康保险"
          width="120">
        </el-table-column>
        <el-table-column
          prop="taxDeferredEndowmentInsurance"
          label="税延养老保险"
          width="300">
        </el-table-column>
        <el-table-column
          prop="qt"
          label="其他"
          width="120">
        </el-table-column>
    </el-table-column>
    <el-table-column
        prop="bz"
        label="备注"
        width="120">
    </el-table-column>
    <el-table-column
        label="操作"
        width="120">
        <span style="color: #1E9FFF; cursor: pointer">删除</span>
    </el-table-column>
  </el-table>
</template>

<script>
  export default {
    data() {
      return {
        tableData: [{
          date: '2016-05-03',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-02',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-04',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-01',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-08',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-06',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-07',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }]
      }
    }
  }
</script>